package cn.bytecollege.common.entity;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Orders {
    private Integer orderId;
    private String orderNumber;
    private Integer payFlag;
    private Double totalPrice;
    private LocalDateTime createTime;

    public String getCreateTime() {

        return createTime.toString().replace("T"," ");
    }

    public void setCreateTime(LocalDateTime createTime) {

        this.createTime = createTime;
    }
}


